package dto;

import java.io.Serializable;

public class Message implements Serializable {
	
	private String content;			// 信息
	private String toIP;		// 目的地址
	private String fromIP;		// 发送地址
	private String fromName; 	// 发送方名称
	private String toName; 		// 接受方名称
	
	public void setContent(String content) {
		this.content = content;
	}

	public String getContent() {
		return this.content;
	}

	public void setToIP(String toIP) {
		this.toIP = toIP;
	}

	public String getToIP() {
		return this.toIP;
	}

	public void setFromIP(String fromIP) {
		this.fromIP = fromIP;
	}

	public String getFromIP() {
		return fromIP;
	}
	
	public void setFromName(String fromName) {
		this.fromName = fromName;
	}

	public String getFromName() {
		return fromName;
	}

	public void setToName(String toName) {
		this.toName = toName;
	}

	public String getToName() {
		return this.toName;
	}
}
